package demo.component.controller;

import demo.component.User;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class UserAdviseController {
    @Resource
    private User user1;
    public void getUser(){
        System.out.println("王五+"+user1);
    }
}
